'''
Created on 08/09/2010

@author: Marcelo
'''

class Palabra(object):
    '''
    Clase utilizada para mostrar las palabras a tipiar
    '''


    def __init__(self,text,x,y):
        self.__text = text
        self.__x = x
        self.__y = y
        
    def getText(self):
        return self.__text
    
    def setText(self,text):
        self.__text = text
        
    def getX(self):
        return self.__x
    
    def setX(self,x):
        self.__x = x
        
    def getY(self):
        return self.__y
    
    def setY(self,y):
        self.__y = y
        
        
    def __eq__(self, other):
        if (isinstance(other, Palabra)):
            return self.__text==other.__text
        else:
            return False;
